package cn.org.eshow.dao;

import cn.org.eshow.bean.query.ProductItemQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.ProductItem;

import java.util.List;


/**
 * An interface that provides a data management interface to the Product table.
 */
public interface ProductItemDao extends GenericDao<ProductItem, Integer> {
	
	List<ProductItem> list(ProductItemQuery query);
	
	Page<ProductItem> search(ProductItemQuery query);

	Long count(ProductItemQuery query);
}

